<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

/**
 * Class Pages
 *
 * @package App\Models
 * max-min E
 * @property int $id
 * @property string $website_id 网站id
 * @property string $user
 * @property string $name
 * @property int $version 版本
 * @property string|null $ref 分支名称
 * @property string $tpl 模板
 * @property string|null $tpl_name 模板名称
 * @property string $commit git commit id
 * @property int $status 0配置中 1有效页
 * @property int $from 数据源复制版本来源
 * @property string $pid 同版本
 * @property string|null $desc 页面备注
 * @property string|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|Pages newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Pages newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Pages query()
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereCommit($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereDesc($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereFrom($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages wherePid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereRef($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereTpl($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereTplName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereUser($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereVersion($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Pages whereWebsiteId($value)
 * @mixin \Eloquent
 */
class Pages extends Model
{
    //use HasFactory;

//    public function pack()
//    {
//        $this->hasMany('App\Models\PackPage');
//    }
}
